Optimal. Leaf size=160 \[ \frac{(d x)^{m+1} \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{m+1}{n};-\frac{1}{2},-\frac{1}{2};\frac{m+n+1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{d (m+1) \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.167816, antiderivative size = 160, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {1385, 510} \[ \frac{(d x)^{m+1} \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{m+1}{n};-\frac{1}{2},-\frac{1}{2};\frac{m+n+1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{d (m+1) \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1385
Rule 510
Rubi steps
\begin{align*} \int (d x)^m \sqrt{a+b x^n+c x^{2 n}} \, dx &=\frac{\sqrt{a+b x^n+c x^{2 n}} \int (d x)^m \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}} \, dx}{\sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}}\\ &=\frac{(d x)^{1+m} \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{1+m}{n};-\frac{1}{2},-\frac{1}{2};\frac{1+m+n}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{d (1+m) \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}}\\ \end{align*}
Mathematica [B] time = 0.770621, size = 388, normalized size = 2.42 \[ \frac{x (d x)^m \left (2 a n (m+n+1) \sqrt{\frac{-\sqrt{b^2-4 a c}+b+2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^n}{\sqrt{b^2-4 a c}+b}} F_1\left (\frac{m+1}{n};\frac{1}{2},\frac{1}{2};\frac{m+n+1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+(m+1) \left (b n x^n \sqrt{\frac{-\sqrt{b^2-4 a c}+b+2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^n}{\sqrt{b^2-4 a c}+b}} F_1\left (\frac{m+n+1}{n};\frac{1}{2},\frac{1}{2};\frac{m+2 n+1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+2 (m+n+1) \left (a+x^n \left (b+c x^n\right )\right )\right )\right )}{2 (m+1) (m+n+1)^2 \sqrt{a+x^n \left (b+c x^n\right )}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.14, size = 0, normalized size = 0. \begin{align*} \int \left ( dx \right ) ^{m}\sqrt{a+b{x}^{n}+c{x}^{2\,n}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c x^{2 \, n} + b x^{n} + a} \left (d x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (d x\right )^{m} \sqrt{a + b x^{n} + c x^{2 n}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c x^{2 \, n} + b x^{n} + a} \left (d x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]